﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BingYing.SAAS.SystemModel.Contracts.Manager
{
    public class LoginOutputDto
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public required string UserName { set; get; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public required string Email { set; get; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long Id { set; get; }

        /// <summary>
        ///  用户凭证
        /// </summary>
        public required string Token { set; get; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpirationTime { set; get; }
    }
}
